{tpl head}
<table class="new_table" width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
	<thead>
<tr class="n_bt"><td colspan="8" align="center">工作小助手系统</td></tr>
  <tr>
    <td height="28" align="center"  class="thbt">姓名</td>
    <td height="28" align="center"  class="thbt">送餐时间</td>
    <td height="28" align="center"  class="thbt">金额</td>
    <td height="28" align="center"  class="thbt">订单详情</td>

  </tr></thead>
{loop $data $k $v}
    <tr align="center" >
      <td height="20">{$v[0]->nickname}</td>
      <td>{function=date('Y-m-d H:i:s',$k)}</td>
      <td>{$v[0]->order_amount}元</td>
      <td class="artlist"><a class="print b" href="?c=order&a=sprint&id={$id}&time={$k}">打印</a>
      {if $v[0]->is_send}<a class="p">已配送</a>{else}<a href="?c=order&a=is_send&id={$id}&time={$k}" class="h">等待配送</a>{/if} </td>
    </tr>
  {loop $v $cv}
  <tr align="center" >
    <td></td>
    <td></td>
    <td></td>
    <td>{$cv.name}*{$cv.goods_nums}</td>
  </tr>
  {/loop}
    {/loop}
</table>
<div class="pages">{$pagelist}</div>
{tpl foot}